package com.zhang.apiboss.service.impl;

import com.zhang.apiboss.remote.ServiceDriverUserClient;
import com.zhang.apiboss.service.DriverCarBindingRelationshipService;
import com.zhang.internalcommon.dto.DriverCarBindingRelationship;
import com.zhang.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 类功能描述
 *
 * @author Kye
 * @date 2025-04-13
 */
@Service
public class DriverCarBindingRelationshipServiceImpl  implements DriverCarBindingRelationshipService {
	@Autowired
	private ServiceDriverUserClient serviceDriverUserClient;

	@Override
	public ResponseResult bind(DriverCarBindingRelationship driverCarBindingRelationship) {
		ResponseResult bind = serviceDriverUserClient.bind(driverCarBindingRelationship);
		return bind;
	}

	@Override
	public ResponseResult unbind(DriverCarBindingRelationship driverCarBindingRelationship) {
		ResponseResult unbind = serviceDriverUserClient.unbind(driverCarBindingRelationship);
		return unbind;
	}
}
